std::bitset::test

From Cppreference

Jump to: navigation, search
bool test( size_t pos ) const;

Returns the value of the bit at the position pos.

Parameters

pos - position of the bit to return

Return value

the value of the requested bit

See also

operator[]
accesses specific bit
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages